package com.qidian.mes.md.vo;

import org.springframework.stereotype.Component;

import java.sql.Date;
import java.text.SimpleDateFormat;

/**
 * @Author: CoolPro
 * @Description: 产品和物料联合查询的实体类
 * @Time: 2024-04-04 11:18
 **/
@Component
public class MaterialVO implements MaterialAndProductVO{
    private Integer id;
    private String name;
    private String model;
    private String unitName;
    private String classifyName;
    private String classifyCategoryName;
    private String stockStatus;
    private Date createTime;
    private Integer inventory;
    private Integer count;
    private Integer category;
    private String comments;//备注信息
    private Integer classifyId;
    private Integer unitId;
    private Integer unitStatus;//单位是否启用
    //分类是否启用
    private Integer isEnableAboutClassify;
    public MaterialVO() {
    }

    @Override
    public String toString() {
        return "MaterialVO{" +
                "idMaterial=" + id +
                ", materialName='" + name + '\'' +
                ", model='" + model + '\'' +
                ", unitName='" + unitName + '\'' +
                ", classifyName='" + classifyName + '\'' +
                ", classifyCategoryName='" + classifyCategoryName + '\'' +
                ", stockStatus='" + stockStatus + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getClassifyCategoryName() {
        return classifyCategoryName;
    }

    public void setClassifyCategoryName(String classifyCategoryName) {
        this.classifyCategoryName = classifyCategoryName;
    }

    public String getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(String stockStatus) {
        this.stockStatus = stockStatus;
    }

    public Date getCreateTime() {
        return this.createTime;
    }



    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getIsEnableAboutClassify() {
        return isEnableAboutClassify;
    }

    public void setIsEnableAboutClassify(Integer isEnableAboutClassify) {
        this.isEnableAboutClassify = isEnableAboutClassify;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public Integer getUnitStatus() {
        return unitStatus;
    }

    public void setUnitStatus(Integer unitStatus) {
        this.unitStatus = unitStatus;
    }
}
